package main

import "fmt"

type Phone1 interface {
	call()
}

type IPhone1 struct {
	name string
}

func (phone IPhone1) call() {
	fmt.Println("Hello, iPhone")
}

func (phone IPhone1) send_wechat() {
	fmt.Println("Hello, Wechat")
}

func main() {
	var phone Phone1
	phone = IPhone1{name: "ming's iphone"}
	phone.call()
	iphone := IPhone1{name: "xiaohua's iphone"}
	iphone.send_wechat()
}
